package cn.itsource.query;
//查询条件类
public class EmpQuery {
    private String qName;//name条件
    private String qAddress;//地址条件

    //javaBean 公有的无参构造
    public EmpQuery() {
    }

    //全参构造  方便赋值
    public EmpQuery(String qName, String qAddress) {
        this.qName = qName;
        this.qAddress = qAddress;
    }

    public String getqName() {
        return qName;
    }

    public void setqName(String qName) {
        this.qName = qName;
    }

    public String getqAddress() {
        return qAddress;
    }

    public void setqAddress(String qAddress) {
        this.qAddress = qAddress;
    }

    @Override
    public String toString() {
        return "EmpQuery{" +
                "qName='" + qName + '\'' +
                ", qAddress='" + qAddress + '\'' +
                '}';
    }
}
